#-------------------------------------------------
#
# Project created by QtCreator 2019-06-29T13:30:41
#
#-------------------------------------------------

QT       -= core gui

TARGET = shared-ab
TEMPLATE = lib

#DEFINES += AB_EXPORTS

DEFINES += A_EXPORTS B_EXPORTS _EXPORTS

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
#QMAKE_CXXFLAGS += -fvisibility=hidden

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

INCLUDEPATH += ../static-a \
               ../static-b

#LIBS += -L../build-static-a-Qt_5_9_3_MSVC2013_32bit-Debug/debug -lstatic-a
#LIBS += -L../build-static-b-Qt_5_9_3_MSVC2013_32bit-Debug/debug -lstatic-b

LIBS += -L../build-static-a-Desktop_Qt_5_9_3_MinGW_32bit-Debug/debug -lstatic-a
LIBS += -L../build-static-b-Desktop_Qt_5_9_3_MinGW_32bit-Debug/debug -lstatic-b

SOURCES += \
        ab.cpp

HEADERS += \
        ab.h \
        shared-ab_global.h 

unix {
    target.path = /usr/lib
    INSTALLS += target
}
